$('.container-left li').eq(3).click(function () {
    $.get(baseURL + '/article/findAll', function (res) {
        // alert(res.message)
        //清空tbody
        $('.message_table tbody').empty();
        res.data.forEach(function (item, index) {
            //item-->每个用户对象
            var newTr = $(`                    
                    <tr>
                        <td><input type="checkbox" value="${item.id}"></td>
                        <td>${index + 1}</td>
                        <td>${item.title}</td>
                        <td>${item.publishTime}</td>
                        <td>${item.categoryId}</td>
                        <td>
                        <button data-id="${item.id}" class="deleteBtn">查看</button>
                        <button data-item='${JSON.stringify(item)}' class="toUpdate">编辑</button>
                        <button data-id="${item.id}" class="deleteBtn">删除</button>
                        </td>
                    </tr>`);
            $('.message_table tbody').append(newTr)
        })
    });
});